home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Database Designers / Rational Rose 2000 / Rational Setup.EXE / common / lib / MSWin32-x86 / auto / POSIX / getgroups.al < prev    next >
Encoding:
Text File  |  1999-01-26  |  367 b   |  15 lines

  1. # NOTE: Derived from ..\..\lib\POSIX.pm.
  2. # Changes made here will be lost when autosplit again.
  3. # See AutoSplit.pm.
  4. package POSIX;
  5.  
  6. #line 856 "..\..\lib\POSIX.pm (autosplit into ..\..\lib\auto/POSIX/getgroups.al)"
  7. sub getgroups {
  8.     usage "getgroups()" if @_ != 0;
  9.     my %seen;
  10.     grep(!$seen{$_}++, split(' ', $) ));
  11. }
  12.  
  13. # end of POSIX::getgroups
  14. 1;
  15.